package com.beiye.drivertransport.bean;

import java.util.List;

/**
 * Created by ky on 2018/6/27.
 */
//学习类别数据包
public class ClassLearningBean {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"vttName":"逆向行驶","vttSn":15,"courseList":[{"sn":54,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":604,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"道路危险货物运输管理规定（第一章）","readLength":0,"finishMark":0,"resultCode":null},{"sn":55,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":607,"ttName":"事故案例","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"超速怎么扣分，扣多少？","readLength":0,"finishMark":0,"resultCode":null},{"sn":56,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":606,"ttName":"事故案例","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"煤矿运输设备、设施伤人","readLength":0,"finishMark":0,"resultCode":null},{"sn":57,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":603,"ttName":"事故案例","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"20xx-xx-xxYY疲劳驾驶案例","readLength":0,"finishMark":0,"resultCode":null},{"sn":58,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":605,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"道路危险货物运输管理规定（第二章）","readLength":0,"finishMark":0,"resultCode":null},{"sn":59,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":601,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"测试课程","readLength":0,"finishMark":0,"resultCode":null},{"sn":60,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":609,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"新交规逆向行驶会怎么处罚","readLength":0,"finishMark":0,"resultCode":null},{"sn":61,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":602,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"法律法规测试课程","readLength":0,"finishMark":0,"resultCode":null}]}]
     * total : 1
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private int total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * vttName : 逆向行驶
         * vttSn : 15
         * courseList : [{"sn":54,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":604,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"道路危险货物运输管理规定（第一章）","readLength":0,"finishMark":0,"resultCode":null},{"sn":55,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":607,"ttName":"事故案例","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"超速怎么扣分，扣多少？","readLength":0,"finishMark":0,"resultCode":null},{"sn":56,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":606,"ttName":"事故案例","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"煤矿运输设备、设施伤人","readLength":0,"finishMark":0,"resultCode":null},{"sn":57,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":603,"ttName":"事故案例","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"20xx-xx-xxYY疲劳驾驶案例","readLength":0,"finishMark":0,"resultCode":null},{"sn":58,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":605,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"道路危险货物运输管理规定（第二章）","readLength":0,"finishMark":0,"resultCode":null},{"sn":59,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":601,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"测试课程","readLength":0,"finishMark":0,"resultCode":null},{"sn":60,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":609,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"新交规逆向行驶会怎么处罚","readLength":0,"finishMark":0,"resultCode":null},{"sn":61,"uvtSn":null,"vttSn":null,"vttName":null,"tcSn":602,"ttName":"法律法规","uvtfinishMark":null,"creationDate":1530088231000,"trainingDate":null,"courseName":"法律法规测试课程","readLength":0,"finishMark":0,"resultCode":null}]
         */

        private String vttName;
        private int vttSn;
        private List<CourseListBean> courseList;

        public String getVttName() {
            return vttName;
        }

        public void setVttName(String vttName) {
            this.vttName = vttName;
        }

        public int getVttSn() {
            return vttSn;
        }

        public void setVttSn(int vttSn) {
            this.vttSn = vttSn;
        }

        public List<CourseListBean> getCourseList() {
            return courseList;
        }

        public void setCourseList(List<CourseListBean> courseList) {
            this.courseList = courseList;
        }

        public static class CourseListBean {
            /**
             * sn : 54
             * uvtSn : null
             * vttSn : null
             * vttName : null
             * tcSn : 604
             * ttName : 法律法规
             * uvtfinishMark : null
             * creationDate : 1530088231000
             * trainingDate : null
             * courseName : 道路危险货物运输管理规定（第一章）
             * readLength : 0
             * finishMark : 0
             * resultCode : null
             */

            private int sn;
            private Object uvtSn;
            private Object vttSn;
            private Object vttName;
            private int tcSn;
            private String ttName;
            private Object uvtfinishMark;
            private long creationDate;
            private Object trainingDate;
            private String courseName;
            private int readLength;
            private int finishMark;
            private Object resultCode;
            private int havedLength;


            public int getHavedLength() {
                return havedLength;
            }

            public void setHavedLength(int havedLength) {
                this.havedLength = havedLength;
            }

            public int getSn() {
                return sn;
            }

            public void setSn(int sn) {
                this.sn = sn;
            }

            public Object getUvtSn() {
                return uvtSn;
            }

            public void setUvtSn(Object uvtSn) {
                this.uvtSn = uvtSn;
            }

            public Object getVttSn() {
                return vttSn;
            }

            public void setVttSn(Object vttSn) {
                this.vttSn = vttSn;
            }

            public Object getVttName() {
                return vttName;
            }

            public void setVttName(Object vttName) {
                this.vttName = vttName;
            }

            public int getTcSn() {
                return tcSn;
            }

            public void setTcSn(int tcSn) {
                this.tcSn = tcSn;
            }

            public String getTtName() {
                return ttName;
            }

            public void setTtName(String ttName) {
                this.ttName = ttName;
            }

            public Object getUvtfinishMark() {
                return uvtfinishMark;
            }

            public void setUvtfinishMark(Object uvtfinishMark) {
                this.uvtfinishMark = uvtfinishMark;
            }

            public long getCreationDate() {
                return creationDate;
            }

            public void setCreationDate(long creationDate) {
                this.creationDate = creationDate;
            }

            public Object getTrainingDate() {
                return trainingDate;
            }

            public void setTrainingDate(Object trainingDate) {
                this.trainingDate = trainingDate;
            }

            public String getCourseName() {
                return courseName;
            }

            public void setCourseName(String courseName) {
                this.courseName = courseName;
            }

            public int getReadLength() {
                return readLength;
            }

            public void setReadLength(int readLength) {
                this.readLength = readLength;
            }

            public int getFinishMark() {
                return finishMark;
            }

            public void setFinishMark(int finishMark) {
                this.finishMark = finishMark;
            }

            public Object getResultCode() {
                return resultCode;
            }

            public void setResultCode(Object resultCode) {
                this.resultCode = resultCode;
            }
        }
    }
}
